package cn.iocoder.yudao.module.pay.controller.admin.pricingrules.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 用于支付模型翻译的价格套餐列新增/修改 Request VO")
@Data
public class PricingRulesSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31724")
    private Integer id;

    @Schema(description = "源语言，NULL表示所有语言")
    private String sourceLanguage;

    @Schema(description = "目标语言，NULL表示所有语言")
    private String targetLanguage;

    @Schema(description = "字符数下限", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "字符数下限不能为空")
    private Integer minCharacters;

    @Schema(description = "字符数上限，NULL表示无上限")
    private Integer maxCharacters;

    @Schema(description = "每千字符价格", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "每千字符价格不能为空")
    private BigDecimal pricePer;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

}